<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>06_溢出处理</title>
  <style>
    div {
      background-color: #0aa1ed;
      width: 300px;
      height: 600px;
      overflow: visible;
      overflow: hidden;
      overflow: scroll;
      overflow: auto;
    }
    p {
      background-color: #70ff58;
      width: 200px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  </style>
</head>
<body>
    <div>
      <img src="../day01/1.jpg">
     </div>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consequuntur corporis culpa cupiditate delectus dolore eligendi illum ipsa magni, maiores molestias nulla quibusdam quidem ratione reiciendis rem tenetur veniam vero voluptatibus.</p>
</body>
</html>